<?php 	$this->load->view('inc/header');?>

<div class="twidth">

  <div id="position"><a href="/index.aspx">首页</a>&nbsp;&gt;&nbsp;酒店</div>

  <div id="middle" class="clear">

    <div class="conL"> 

        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id=scriptmain name=scriptmain codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="100%" height="270">
          <param name="movie" value="/sildes/bcastr.swf?bcastr_xml_url=<?php echo site_url('/main/flashXml_v');?>">
          <param name="quality" value="high">
          <param name=scale value=noscale>
          <param name="LOOP" value="false">
          <param name="menu" value="false">
          <param name="wmode" value="transparent">
          <embed src="bcastr.swf?bcastr_xml_url=<?php echo site_url('/hotel/flashXml_v/');?>" width="100%" height="270" loop="false" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" salign="T" name="scriptmain" menu="false" wmode="transparent"></embed>
        </object>

      <div class="blank10"></div>

      

      <!--推荐酒店-->

      <div class="lbox">

        <div class="titcon">

          <h2>推荐酒店</h2>

        </div>

        <div class="cont">

          <dl class="tourlist clear">

            <dt></dt>

            <dd>
            
            <?php foreach ($top as $id => $arr)
            {
            	$pics = $this->platform->file_url($arr['folder'].'/'.$arr['name'].'.'.$arr['type']);
            ?>

               <li><a href="<?php echo site_url("/hotel/hotel_show/".$arr['id']); ?>" title= <?php echo $arr['hotel_name']?>><img src="<?php echo $pics?>" alt="<?php echo $arr['hotel_name']?>" /></a><em><a href="/hotelshow.aspx?hid=23" title="<?php echo $arr['hotel_name']?>"><?php echo $arr['hotel_name']?></a></em>

				<p><?php echo $arr['hotel_desc']?></p>

				</li>
			<?php }?>
            </dd>

          </dl>

        </div>

        <div class="bot">

          <div class="in"></div>

        </div>

      </div>

      <!--/推荐酒店-->

      <div class="blank10"></div>

      

      <!--最新酒店-->

      <div class="mbox topicindex">

        <div class="titcon">

          <h2>最新酒店</h2>

          <a href="<?php echo site_url("/hotel/hotel_show/"); ?>" class="moreR">更多&gt;&gt;</a>

        </div>

        <div class="cont">

          <ul class="imglist clear">

            <?php foreach ($new as $id => $arr)
            {
            	$pics = $this->platform->file_url($arr['folder'].'/'.$arr['name'].'.'.$arr['type']);
            ?>

               <li><a href="<?php echo site_url("/hotel/hotel_show/".$arr['id']); ?>" title= <?php echo $arr['hotel_name']?>><img src="<?php echo $pics?>" alt="<?php echo $arr['hotel_name']?>" /></a><em><a href="/hotelshow.aspx?hid=23" title="<?php echo $arr['hotel_name']?>"><?php echo $arr['hotel_name']?></a></em>

				<p><?php echo $arr['hotel_desc']?></p>

				</li>
			<?php }?>

          </ul>

        </div>

        <div class="bot">

          <div class="in"></div>

        </div>

      </div>

      <!--/最新酒店--> 

      

    </div>

    <div class="conR"> 

      <!--酒店查询-->
      <div class="gbox">

        <div class="titcon">

          <h2>酒店查询</h2>

        </div>
        <div class="cont">
		<form method="post" action="<?php echo site_url("/hotel/hotelSearch");?>">
          <div class="simple clear" style=" padding:15px 0 15px 5px;">
			<input id="cateid" type="hidden" value="<?php echo $arr['id'];?>">
            <dl>

              <dt>目的地：</dt>

              <dd>

                <select id="dllCity" name="dllCity" style="width:115px;">

                  

                  <option value="0">请选择城市</option>

                  <?php 
                  
                  foreach ($city as $indx => $arr)
                  {
                  	?>
                  	 <option value="<?php echo $indx?>"><?php echo $arr['name']?></option>
                  	 <?php 
                  }
                
                  ?>

                </select>

              </dd>

            </dl>

       <!--     <dl>

              <dt>位置：</dt>

              <dd>

                <select id="ddlhArea" name="ddlhArea" style="width:115px;">

                  <option value="0">所在地区</option>

                </select>

              </dd>

            </dl>
		-->
            <dl>

              <dt>价位：</dt>

              <dd>

                <select id="dllRMB" name="dllRMB" style="width:115px;">

                  <option value="0">不限</option>

                  <?php 
                  
                  foreach ($price as $id => $arr)
                  {
                  	?>
                  	 <option value="<?php echo  $arr['classid'] ?>"><?php echo $arr['min'].' - '.$arr['max']?></option>
                  	
                 <?php 
                  }
                  
                  
                  
                  ?>

                </select>

              </dd>

            </dl>

        <!--    <dl>

              <dt>星级：</dt>

              <dd>

                <select id="ddlStar" name="ddlStar" style="width:115px;">

                  <option value="0">不限</option>

                  

                  <option value="1">一星级</option>

                  

                  <option value="2">二星级</option>

                  

                  <option value="3">三星级</option>

                  

                  <option value="4">四星级</option>

                  

                  <option value="5">五星级</option>

                            
                </select>

              </dd>

            </dl>
		-->
            <dl>

              <dt>名称：</dt>

              <dd>

                <input id="txthName" name="txthName" type="text" value="" />

              </dd>

            </dl>

            <dl>

              <dt>&nbsp;</dt>

              <dd>

                <input id="btnSearch" type="submit" value="搜索酒店" class="btn_g" />

              </dd>

            </dl>

          </div>
		</form>
        </div>

      </div>
      <!--/酒店查询-->

      <div class="blank10"></div>

      <!--目的地-->

      <div class="gbox">

        <div class="titcon">

          <h2>目的地</h2>

        </div>

        <div class="cont">

          <dl class="deslist">

            <dt>精品目的地</dt>

            <dd class="clear"><a href="/tripCity.aspx?cityid=1">秦皇岛</a>  <a href="/tripCity.aspx?cityid=2">北京</a>  <a href="/tripCity.aspx?cityid=3">上海</a>  <a href="/tripCity.aspx?cityid=11">海南</a>  <a href="/tripCity.aspx?cityid=20">杭州</a>  <a href="/tripCity.aspx?cityid=24">青岛</a>  <a href="/tripCity.aspx?cityid=25">夏威夷</a>  <a href="/tripCity.aspx?cityid=29">雅典</a>  </dd>

          </dl>

        </div>

        <div class="bot">

          <div class="in"></div>

        </div>

      </div>

      <!--/目的地-->

      <div class="blank10"></div>

      <div class="lbox">

        <div class="titcon"><em>热门酒店</em></div>

        <div class="cont">

          <ul class="nl">

	<?php foreach ($new as $id => $arr)
            {
            	$pics = $this->platform->file_url($arr['folder'].'/'.$arr['name'].'.'.$arr['type']);
       
       
            ?>

               <li><a href="<?php echo site_url("/hotel/hotel_show/".$arr['id']); ?>" title="<?php echo $arr['hotel_name']?>"><?php echo $arr['hotel_name']?></a></li>

				</li>
			<?php }?>

          </ul>

        </div>

        <div class="bot">

          <div class="in"></div>

        </div>

      </div>

    </div>

  </div>

  <dl id="footguide">

<dt>旅游网站</dt>

<dd><li>价格实惠<br />支付方便</li>

<li>强强联手<br />优质服务</li>

<li>全球品牌<br />安全保证</li>

<li>全天客服<br />实时在线</li>

<li>流程简单<br />操作方便</li></dd>

</dl>

</div>

<div id="footer">

  <div class="footnav"><a href="/intro.aspx?ID=7" target="_blank">市场合作</a> | <a href="/intro.aspx?ID=6" target="_blank">广告投放</a> | <a href="/intro.aspx?ID=5" target="_blank">服务条款</a> | <a href="/admin/login.aspx" target="_blank">管理入口</a> | <a href="#" target="_blank">在线客服</a> | <a href="/intro.aspx?ID=1" target="_blank">联系我们</a> </div>

  <div class="copy"><p>

	版权所有&nbsp;全国客服热线：400 000 0000 客服QQ:123456 100000<br />

	<span style="color: #f00">底部信息可以在后台系统设置中进行修改</span><br />

	Copyright &copy; XXXX公司 &nbsp; ICP备000000号</p></div>

</div>

<div id="bodybg"></div>

<!--[if IE 6]>

<script src="/js/DD_belatedPNG.js"></script>

<script>

  DD_belatedPNG.fix('img,.png');

</script>

<![endif]-->

 

<script type="text/javascript">

  

  $(".tourlist dt").html($(".tourlist dd li:first").html());

$(".tourlist dt").append("<a class='btn' href='"+$(".tourlist dd li:first a:first").attr("href")+"'>查看详情</a>");

$(".tourlist dd").find("li").each(function(){

	$(this).mouseover(function(){

		$(".tourlist dt").html($(this).html());

		$(".tourlist dt").append("<a class='btn' href='"+$(this).find("a:first").attr("href")+"'>查看详情</a>");

		

	});

	

})

  </script>

</body>

</html>

